win32: Don't remove the window from the handle table on destroy
authorAlexander Larsson <alexl@redhat.com>
Wed, 26 Oct 2011 09:39:15 +0000 (11:39 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 10 Nov 2011 16:41:02 +0000 (17:41 +0100)
commit4690aa28d0c463fc07b845c08ed5e23e45f9df83
tree30d92368f087dd3d348302345af01d3264c287e7
parent725379192d76bf9885c93ca2e06c656121bbcdda
win32: Don't remove the window from the handle table on destroy

We always get the WM_DESTROY message anyway, and we remove it there.
Bug #336416 even claims this could be a leak if the WM_DESTROY
message was not seen before the DestroyWindow call returned, as
the WM_DESTROY message could not be handled later without the
window in the handle table. I'm not sure this can happen, but we
might as well remove it.
gdk/win32/gdkwindow-win32.c